namespace MvcTasks.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class test1 : DbMigration
    {
        public override void Up()
        {
           // DropForeignKey("dbo.RandomTasks", "Genres_Id", "dbo.Genres");
           // DropIndex("dbo.RandomTasks", new[] { "Genres_Id" });
           // DropColumn("dbo.RandomTasks", "Genres_Id");
        }
        
        public override void Down()
        {
            AddColumn("dbo.RandomTasks", "Genres_Id", c => c.Int());
            CreateIndex("dbo.RandomTasks", "Genres_Id");
            AddForeignKey("dbo.RandomTasks", "Genres_Id", "dbo.Genres", "Id");
        }
    }
}
